package wjh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Register {
    private Integer id;
    private String records_number;
    private String doctor_name;
    private String user_name;
    private int user_age;
    private String user_sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String orders;
    private String status;
    private int deleted;
    private String seek;
    private int doctor_id;
    private int patient_id;
}
